import { ref, computed } from 'vue';
import { defineStore } from 'pinia';
import type { UserInfo } from '@/api/user/type';
export const useUserInfoStore = defineStore('userInfoStore', {
	state(): { userInfo: UserInfo } {
		return {
			userInfo: {
				avatar: '',
				name: '',
				roles: [],
				buttons: [],
				routes: [],
			},
		};
	},
	actions: {
		
	},
	getters: {},
});
